#include "MyString.h"

using std::cout;
using std::endl;

void stringTest01()
{
	//std::string s1;
	bin::string	s1;
	bin::string s2("hello world");
	bin::string s3(s2);
	s2 = s3 = s1;

	cout << s1.c_str() << endl;
	cout << s2.c_str() << endl;
	cout << s3.c_str() << endl;
}

void stringTest02()
{
	bin::string s1("hello world");
	s1 = "";
	cout << s1.size() << endl;
	cout << s1.empty() << endl;
	//
}

int main()
{
	stringTest02();

	return 0;
}